package com.yj.web.service;

import com.yj.web.dao.po.admin.Message;

import java.util.List;

/**
 * Created by yanlinyang on 2017/7/4.
 */
public interface MessageService {
    //短信
    public List<Message> listMessageByReceiver(String phone, int page, int size);
    public int countMessageByReceiver(String phone);
    public List<Message> listAllMessage(int page, int size);
    public int countMessage();
    public long insertMessage(Message message);
    public boolean updateMessage(long id);
}
